package com.example.contorller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 麦健豪
 * @date 2020/9/17 23:31
 * Hello控制器
 */
@RestController
public class HelloController {


    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }


    @GetMapping("/employee/basic/hello")
    public String testmenuwithrole() {
        return "/employee/basic/hello";
    }

    @GetMapping("/employee/advanced/hello")
    public String testmenuwithrole2() {
        return "/employee/advanced/hello";
    }
}

